The Liang dynasty (), alternatively known as the Southern Liang () or Xiao Liang () in historiography, was an imperial dynasty of China and the third of the four Southern dynasties during the Northern and Southern dynasties period. It was preceded by the Southern Qi and succeeded by the Chen dynasty. The rump state of Western Liang existed until it was conquered in 587 AD by the Sui dynasty.
During the Liang dynasty, in 547 a Sassanid Empire embassy paid tribute to the Liang, amber was recorded as originating from Persia by the Book of Liang.
In 548, the Prince of Henan Hou Jing started a rebellion with Xiao Zhengde, the Prince of Linhe, nephew and a former heir of the Emperor Wu of Liang, and installed Xiao Zhengde as emperor. In 549, Hou sacked Jiankang, deposed and killed Xiao Zhengde, seized power and put Emperor Wu effectively under house arrest. He dismissed the armies opposed to him in the name of Emperor Wu. In 549, Emperor Wu died; Emperor Wu's third son Crown Prince Gang (the later Emperor Jianwen) then ascended the throne under Hou's shadow; Emperor Jianwen was also effectively under house arrest. Hou also attempted to suppress those who would not submit to him.
At the same time the Liang princes fought with each other rather than try to eliminate Hou: Emperor Wu's seventh son Xiao Yi Prince of Xiangdong killed his nephew Xiao Yu the Prince of Hedong, forcing Xiao Yu's younger brother Xiao Cha Prince of Yueyang to surrender to the Western Wei; Xiao Yi also attacked his sixth brother Xiao Guan Prince of Shaoling, forcing him to surrender to Northern Qi. Both Xiao Cha and Xiao Guan were created Prince of Liang. However, as Xiao Yi also allied with Northern Qi, Northern Qi gave up their support of Xiao Guan; Xiao Guan was defeated by Hou and finally killed by Western Wei. Xiao Ji the Prince of Wuling the youngest son of Emperor Wu claimed imperial title.
In 551, Hou forced Emperor Jianwen to abdicate to his grandnephew Xiao Dong the Prince of Yuzhang, then killed Emperor Jianwen and forced Xiao Dong to abdicate to him. Hou established a new dynasty named Han. In 552, Xiao Yi destroyed Han and claimed the imperial title as Emperor Yuan of Liang. He also ordered his subordinates to kill Xiao Dong and Xiao Dong's younger brothers. He created his headquarter Jiangling capital instead of returning to Jiankang. He also managed to eliminate Xiao Ji, but in order to do this he allied with Western Wei, who in turn conquered Yi Province (Sichuan).
In 553, Northern Qi attacked Liang, aiming to install a nephew of Emperor Wu, Xiao Tui the Marquess of Xiangyin, as emperor, but was defeated.
As the relationship between Emperor Yuan and Western Wei was deteriorating, in 555, Western Wei army sacked Jiangling, forcing Emperor Yuan to surrender, and killed Emperor Yuan as well as his sons before installing Xiao Cha as emperor of (Western) Liang at Jiangling.
Liang generals led by Wang Sengbian declared Xiao Fangzhi Prince of Jin'an, the only living son of Emperor Yuan, as Prince of Liang at Jiankang, aiming to crown him the new emperor, but the Northern Qi army defeated them, forcing them into an agreement to recognise a nephew of Emperor Wu, Xiao Yuanming the Marquess of Zhenyang, as emperor instead. Wang requested that Xiao Fangzhi be created Crown Prince and Xiao Yuanming agreed. General Chen Baxian launched a raid that killed Wang in favor of Xiao Fangzhi while denouncing Wang for surrendering to Northern Qi. Xiao Yuanming was forced to abdicate to Xiao Fangzhi, who was known as Emperor Jing of Liang, and Chen seized power. He initially claimed Liang a subject of Northern Qi but later defeated the army of Northern Qi.
In 557, Chen Baxian established the new powerful Chen dynasty. Liang general Wang Lin also claimed Xiao Zhuang Prince of Yongjia grandson of Emperor Yuan emperor. In 560, the Chen dynasty defeated Xiao Zhuang who fled to the Northern Qi and was created Prince of Liang in 570. The small and weak Western Liang state existed until 587 when the Sui dynasty destroyed it.
In 617, Xiao Xian from Western Liang imperial clan claimed himself Liang Emperor in light of the disturbance in the end of Sui dynasty. His realm was destroyed by Tang dynasty in 621.
The envoys from right to left were: the Hephthalites (滑/嚈哒), Persia (波斯), Baekje (百濟), Qiuci (龜茲), Japan (倭), Langkasuka (狼牙脩), Qiang (鄧至), Yarkent Khanate (周古柯), Qubodiyon (呵跋檀), Kunduz (胡蜜丹), Balkh (白題), and Mohe people (末).
| Emperor Wu of Liang | Xiao Yan | 502–549 | Tianjian (天監) 502–519 Putong (普通) 520–527 Datong (大通) 527–529 Zhongdatong (中大通) 529–534 Datong (大同) 535–546 Zhongdatong (中大同) 546–547 Taiqing (太清) 547–549 |
| Emperor Jianwen of Liang | Xiao Gang | 549–551 | Dabao (大寶) 550–551 |
| – | Xiao Dong | 551–552 | Tianzheng (天正) 551-552 |
| Emperor Yuan of Liang | Xiao Yi | 552–555 | Chengsheng (承聖) 552–555 |
| – | Xiao Yuanming | 555 | Tiancheng (天成) 555 |
| Emperor Jing of Liang | Xiao Fangzhi | 555–557 | Shaotai (紹泰) 555–556 Taiping (太平) 556–557 |
|
|